package org.diffshop.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.diffshop.common.utils.PageUtils;
import org.diffshop.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author tjf
 * @date 2024-05-13 10:35:49
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryCateGoryListWithTree();

    void removeCategoryByIds(List<Long> asList);

    Long[] getCategoryPath(Long catId);

    void updateDetail(CategoryEntity category);
}

